<div class="box box-primary">
    <div class="box-header with-border">
        <h3 class="box-title">添加储值卡</h3>
    </div>
    <!-- /.box-header -->
    <!-- form start -->
    <form class="form-horizontal">
        {{ csrf_field() }}
        <div class="box-body">
            <div class="form-group">
                <label class="col-sm-2 control-label" for="face_value">面值</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="face_value">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label" for="class_hour">课时数</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="class_hour">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label" for="duration">时间</label>
                <div class="col-sm-10">
                    <select class="form-control" name="duration">
                        <option value="3">三个月</option>
                        <option value="6">六个月</option>
                        <option value="12" selected>一年</option>
                        <option value="24">二年</option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label" for="remarks">备注</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="remarks">
                </div>
            </div>
        </div>
        <!-- /.box-body -->

        <div class="box-footer">
            <input type="hidden" name="id" value="{{ $id }}">
            <button type="button" class="btn btn-primary" data-url="{{ url('admin/cards') }}" data-type="POST" onclick="subAction(this)">提 交</button>
            <button type="button" class="btn btn-default" data-url="{{ url('admin/children') }}" onclick="jumpfun(this)">返 回</button>
        </div>
    </form>
</div>
<script>
    $( function() {
        //Date picker
        $('#datepicker').datepicker({
            autoclose: true,
            todayHighlight: true,
        });
    } );
</script>